package edu.zqxy.eastmoney.service;

import edu.zqxy.eastmoney.pojo.Stock;

import java.util.List;
//总的接口，简写
public interface IBase<T> {
    int save(T entity);
    int update(T  entity);
    int delete(Object id);
    T findById(Object id);
    List<T> findAll();

}
